package com.tuanzi.dao;

import com.tuanzi.entity.TemperatureWeek;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tuanzi
 * @version 1.0
 * @date 2022/3/31 13:12
 */

public interface TemperatureWeekMapper {

    // 根据花盆的id，识别出每天的平均温度
    List<TemperatureWeek> selectTemperatureByFid(@Param("fid") Integer fid);

    // 删除所有指定互喷的温度
    Integer deleteByFid(@Param("fid") Integer fid);

}
